//package com.bbx.taxi.client.Util;
//
//import com.bbx.api.sdk.model.passanger.Return.OrderDetails;
//import com.bbx.api.sdk.model.passanger.Return.MyOrderList.Locations;
//import com.bbx.api.sdk.model.passanger.Return.MyOrderList.MyOrderList;
//import com.bbx.api.sdk.model.passanger.Return.OrderDetails.Details;
//
///** 
// * @Path com.bbx.taxi.client.Util.OrderDetialToOrder.java
// * @Author 严旭文
// * @Date 2016-1-20 下午4:57:28
// * @Company 蓝海（福建）信息技术有限公司
// * @Description
// * 订单详情转换为一个完整订单，OrderDetial转换为MyOrderList
// */
//public class OrderDetialToOrderList {
//    /**
//     * 订单详情转换为一个完整订单，OrderDetial转换为MyOrderList
//     */
//    public static MyOrderList onOrderDetialToOrderList(OrderDetails mOrderDetails,MyOrderList mMyOrderList){
//    	if (mOrderDetails != null) {
//			Details mDetails = mOrderDetails.getDetails();
//			if (mDetails != null) {
//				mMyOrderList.setOrder_time(mDetails.getTime());
//				mMyOrderList
//						.setAppoint_time(mDetails.getAppoint_time());
//				mMyOrderList.setOrder_type(mDetails.getOrder_type());
//				mMyOrderList.setValuate_status(mDetails
//						.getValuate_status());
//				mMyOrderList
//						.setOrder_status(mDetails.getOrder_status());
//				mMyOrderList.setDriver_name(mDetails.getDriver_name());
//				mMyOrderList.setDriver_id(mDetails.getDriver_id());
//				mMyOrderList.setDriver_star(mDetails.getDriver_star());
//				mMyOrderList
//						.setDriver_phone(mDetails.getDriver_phone());
//				mMyOrderList.setStar(mDetails.getStar());
//				mMyOrderList.setDiscount(mDetails.getDiscount());
//				mMyOrderList.setCar_NO(mDetails.getCar_No());
//				mMyOrderList.setDiscount(mOrderDetails.getDetails().getDiscount());
//				mMyOrderList.order_origin= mOrderDetails.getDetails().order_origin;
//				Locations mLocations = mOrderDetails.getDetails()
//						.getLocations();
//				mMyOrderList.setLocations(mLocations);
//			}
//    	}
//		return mMyOrderList;
//    }
//}
